package com.cdie.myschool.mapper.TeacherTimeTableMapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.cdie.myschool.domain.entity.TimetableOld;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 雷金臣199000347
 * @date 2022/10/8 - 16:39
 */
@Mapper
@DS("slave_1")
public interface TeacherTimeTableOldMapper {
    @Select("select *from teaching_info")
    List<TimetableOld> TimetableOld();
}
